<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core" >
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     	<link href="#{facesContext.externalContext.requestContextPath}/css/default.css" rel="stylesheet" type="text/css" />
        <title>Sistema UTI Neonatal</title>
	
	<style>
		.ui-widget,.ui-widget .ui-widget {
			font-size: 12px !important;
		}
	</style>

</h:head>
 <h:body style="margin: 0px;">
 
	 
	  <div class="google-header-bar">
	  	<h:panelGrid columns="2" cellpadding="5" style="margin-left:40px;">  
            <p:graphicImage value="img/logo.png" />          
            <p:graphicImage value="img/logoTexto.png" />
        </h:panelGrid>  
	  </div>
  
       <p:dialog visible="true" closable="false" width="620" height="370" draggable="false" resizable="false" showEffect="clip" position="left center" style="margin:50px;">     
            <p:graphicImage value="img/bb3.jpg" width="600" height="365" />  
    	</p:dialog>  
 
	 <p:dialog header="Login" visible="true" closable="false" draggable="false" resizable="false" width="620" height="350" showEffect="clip" position="right center" style="margin-right:50px;">     
              
	        <form action="j_spring_security_check" method="post">
	            <p:panelGrid columns="2" cellpadding="5" style="width:100%;">
	 
	                <h:outputLabel for="j_username" value="Usuário:" style="font-weight:bold; font-size:11px"/>
	                <p:inputText id="j_username" required="true"/>
	      
	                <h:outputLabel for="j_password" value="Senha:" style="font-weight:bold; font-size:11px"/>
	                <p:password id="j_password" required="true"/>
	              	
	              	<f:facet name="footer">
	                	<h:commandButton value="Entrar"/>
	                	<h:outputText value="Usuário e/ou senha incorretos!" rendered="#{param.erro}" style="color: darkred; font-weight:bold; font-size: 14px; margin-left: 100px;" />
	                </f:facet>
	           </p:panelGrid>
	        </form>
	        <br />	        
		<p:accordionPanel activeIndex="0" >  
		   <p:tab title="Autoria" >  
		       <h:panelGrid columns="2" cellpadding="3">    
		           <h:outputText value="Luciana Medeiros Lima" style="font-weight:bold; font-size:11px"></h:outputText><f:verbatim><br /></f:verbatim>
		           <h:outputText value="Mestranda em Enfermagem - Programa de Pós-Graduação na UFPB" style="font-size:11px"></h:outputText><f:verbatim><br /></f:verbatim>
		           <h:outputText value="Centro de Pesquisa e Desenvolvimento da CIPE" style="font-size:11x"></h:outputText>
		       </h:panelGrid>  
		   </p:tab>  
		   <p:tab title="Developed By">
		       <h:panelGrid columns="2" cellpadding="3" border="0">	
		        <h:outputText value="Epitacio Miguel de L." style="font-weight:bold; font-size:11px"></h:outputText>
		           <h:outputText value="Analista de Sistema - UFCG - epitaciom@gmail.com" style="font-size:11px"></h:outputText>
		           <h:outputText value="Rafael Vilaça Fraçon" style="font-weight:bold; font-size:11px"></h:outputText>
		           <h:outputText value="Analista de Sistema - USP - fracon@gmail.com" style="font-size:11px"></h:outputText>
		       </h:panelGrid>  
		   </p:tab>  
		   <p:tab title="Powered By">
		       <h:panelGrid style="margin-left:30%;" border="0">	
			        <a href="http://www.opensource.org"><img src="img/open-source.png" width="50" height="50" /></a>
					<a href="http://www.oracle.com/technetwork/java/index.html" style="margin-left:5px;"><img src="img/java.png" width="50" height="50" /></a>
					<a href="http://www.primefaces.org" style="margin-left:5px;"><img src="img/prime.png" width="50" height="50" /></a>	
		        </h:panelGrid>  
		    </p:tab>  
		</p:accordionPanel>          
    </p:dialog>
      		  		  	 	 
    <div class="google-footer-bar"></div>
</h:body>
</html>